<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Quản Lý</title>
</head>

<body>
	<?php
		if($_POST['username']=="nguyetta" && $_POST['password']=="baokim.vn"){
	
	?>
        <form method="post" action="hienthi.php">
        <table align="center" style="margin-bottom:50px;margin-top:50px">
        	<tr>
            	<td>Ngày:</td>
                <td><select name="ngay">
                	<?php for($i=1;$i<=31;$i++){ if($i<10){$i = "0".$i;}?>
                    <option value="<?php echo $i;?>"><?php echo $i;?>
                    </option>
                	<?php }?> 
                </select>
                </td>
                <td>Tháng:</td>
                <td > <select name="thang">
                	<?php for($i=1;$i<=12;$i++){ if($i<10){$i = "0".$i;}?>
                    <option value="<?php echo $i;?>"><?php echo $i;?>
                    </option>
                	<?php } ?>
                    </select>
                 </td>
                <td> Năm:</td>
                <td ><select name="nam">
                	<?php for($i=2012;$i<=2020;$i++){?>
                    <option value="<?php echo $i;?>"><?php echo $i;?>
                    </option>
                	<?php }?>
                    </select>
                  </td>
                <td style="padding-left:50px">Gói:</td>
                <td><select name="goi">
                		<option value="99">All</option>               		
                        <option value="1">Fast i-Bank</option>
                        <option value="2">Visa Debit</option>
                        <option value="3">Visa Credit</option>
                        <option value="12">Fast i-Bank , Visa Debit</option>
                        <option value="13">Fast i-Bank , Visa Credit</option>
                        <option value="23">Visa Debit, Visa Credit</option>
                        <option value="123">Fast i-Bank , Visa Debit,Visa Credit</option>
                    </select>
                    </td>
                
                 <td><input type="submit" name="smbtim" value="Tìm kiếm" /></td>
                <td><input type="submit" name="smb" value="Xuất ra excel" /></td>
                
            </tr>
        </table>
        </form>
        
        <?php
		
			}
		else {
			echo "<script>alert('Sai rồi kìa em!');</script>";
			?>
            
            <script type="text/javascript">
			window.location = "http://visatcb.event.baokim.vn/admin/";
			</script>
            <?php 
			}
			
	?>
    
</body>
</html>